package com.fanh.mapper;

import com.fanh.model.MsgNews;
import com.fanh.model.MsgNewsExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface MsgNewsMapper {
    long countByExample(MsgNewsExample example);

    int deleteByExample(MsgNewsExample example);

    int insert(MsgNews record);

    int insertSelective(MsgNews record);

    List<MsgNews> selectByExample(MsgNewsExample example);

    int updateByExampleSelective(@Param("record") MsgNews record, @Param("example") MsgNewsExample example);

    int updateByExample(@Param("record") MsgNews record, @Param("example") MsgNewsExample example);
}